package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsFlashPromotionProductRelation;

/**
 * @author xyiaao
 * @description 针对表【sms_flash_promotion_product_relation(商品限时购与商品关系表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsFlashPromotionProductRelationApi extends IService<SmsFlashPromotionProductRelation> {

    Page<SmsFlashPromotionProductRelation> findBySms(Long flashPromotionId, Long flashPromotionSessionId, Integer pageNum, Integer pageSize);

    void updateRelation(Integer id, SmsFlashPromotionProductRelation relation);

}
